package com.arpa.oms.domain.vo;

import com.alibaba.fastjson.annotation.JSONField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

/**
 * <p>
 * 接单设置DTO
 * </p>
 *
 * @author rfwang
 * @since 2021-08-10
 */
@Data
@ApiModel(value="OmsOrderSetVO对象", description="接单设置")
public class OmsOrderSetVO implements Serializable {

    @ApiModelProperty(value = "接单单号")
    private String code;

    @ApiModelProperty(value = "收货人标识")
    private String shipmentCode;

    @ApiModelProperty(value = "收货人名称")
    private String shipmentName;

    @ApiModelProperty(value = "平台标识")
    private String platformCode;

    @ApiModelProperty(value = "平台名称")
    private String platformName;

    @ApiModelProperty(value = "店铺标识")
    private String shopCode;

    @ApiModelProperty(value = "店铺名称")
    private String shopName;

    @ApiModelProperty(value = "店铺ID")
    private String shopID;

    @ApiModelProperty(value = "时间间隔")
    private String inteval;

    @ApiModelProperty(value = "状态，0-启用，1-停用")
    private Integer status;

    @ApiModelProperty(value = "总数")
    private Long total;

    @ApiModelProperty(value = "创建人名称")
    private String createdName;

    @ApiModelProperty(value = "创建时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime gmtCreated;

    @ApiModelProperty(value = "修改人名称")
    private String modifiedName;

    @ApiModelProperty(value = "修改时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime gmtModified;

    @ApiModelProperty(value = "定时表达式")
    private String cron;
}
